FROM python:3.12-bookworm

WORKDIR /app
 
COPY . /app

RUN pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple -r requirements.txt

RUN playwright install --with-deps

CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]

